﻿@inherits BasePage
@page "/Setting/List"
<Split Basis="30%">
    <FirstPaneTemplate>
        <MyTable @ref=table TItem="SettingTypeModel" ShowLoading="true"
                 ShowToolbar="true" ShowDefaultButtons="false"
                 ShowSearch="false" ShowRefresh="true" IsStriped="true" IsBordered="true" ShowLineNo="true"
                 IsPagination="true" OnQueryAsync="@OnQueryAsync" OnNewClickRowCallback=ClickRowCallback>
            <TableColumns>
                <TableColumn @bind-Field="@context.TypeName" />
                <TableColumn @bind-Field="@context.TypeTitle" />
            </TableColumns>
            <RowButtonTemplate Context="obj">
            </RowButtonTemplate>
        </MyTable>
    </FirstPaneTemplate>
    <SecondPaneTemplate>
        <Edit SettingType=CurrentClickRow></Edit>
    </SecondPaneTemplate>
</Split>